Pressure sensors¶
Static Pressure¶
Static Pressure inputs in the S-function simulate the internal ones in Veronte Autopilot 1x. The required information consists of raw measurements and the sensor device temperature.
The S-function contains 3 ports representing the 3 static pressure sensors that are included in Autopilot 1x. Then this information should be used according to the static pressure sensor selected in the configuration (in the 1x PDI Builder software).
In the following table, the user can consult the static pressure sensors available for each hardware version:
Hardware version |
Static Pressure |
---|---|
4.0 |
Internal Sensor (HSC) |
Internal Sensor (MS56) |
|
4.5 |
Internal Sensor (HSC) |
Internal Sensor (MS56) |
|
Internal Sensor (DPS310) |
|
4.8 |
Internal Sensor (HSC) |
Internal Sensor (MS56) |
|
Internal Sensor (DPS310) |
Important
Please note that, the number of inputs (ports) correspond to the maximum number of inputs available on all hardware versions, as can be seen in the aforementioned table.
Below are some examples of how to implement the static pressure:
Constant value
Only one block constant for raw pressure and one for temperature.
Step
If users wish to simulate a leap in pressure measurements, it is possible to add a step to the previous configuration. In the example below a difference in 100 meters is represented.
Important
Note that in both examples a White Noise block has been added.
Dynamic Pressure¶
The dynamic or velocity pressure input requires the raw measurement of dynamic pressure and sensor device temperature.
Some examples of how to implement dynamic pressure are shown below:
Constant value
As the raw measurement of dynamic pressure has been added as a constant, a white noise block is also added:
Complex model
In this example, Autopilot 1x is assumed to be mounted on the X-axis in Body rame. Therefore, from the velocity in NED frames, a rotation is applied to obtain the velocity in Body frames, and then the first component of the vector is taken.
In addition, the density value is taken from the environment model.